<template>
  <div>
    <Header title="商品"></Header>
    <div class="div">
      <shop :shop="'mohuoselectcommodityByname/'+name"></shop>
    </div>
  </div>
</template>
<script>
import shop from "@/components/shop";
import Header from "@/components/Headergl/Header2";
import { mapState, mapGetters, mapMutations, mapActions } from "vuex";
export default {
  data() {
    return {
      name: this.$route.params.name
    };
  },
  components: {
    shop: shop,
    Header: Header
  },
  computed: {
    ...mapState(["poot"]),
    ...mapState(["yx"]),
    ...mapState(["zhuantai"])
  },
  methods: {
    ...mapMutations(["xg"]),
    ...mapMutations(["userxg"]),
    ...mapMutations(["yxxg"]),
    ...mapMutations(["xggwcsz"])
  },
  mounted() {}
};
</script>
<style scoped>
.div {
  margin-top: 40px;
}
</style>